/*显示隐藏*/
function display(id){ 
var traget=document.getElementById(id); 
if(traget.style.display=="none"){ 
traget.style.display=""; 
}else{ 
traget.style.display="none"; 
} 
}
//滚动
 	if (document.getElementById('slider')) {
    console=window.console || {dir:new Function(),log:new Function()};
    var active=0,as=document.getElementById('pagenavi').getElementsByTagName('a');
    for(var i=0;i<as.length;i++){
      (function(){
        var j=i;
        as[i].onclick=function(){
          t4.slide(j);
          return false;
        }
      })();
    }
    var t4=new TouchSlider({id:'slider', speed:600, timeout:6000, before:function(index){
      as[active].className='';
      active=index;
      as[active].className='active';
    }});
  };

